import request from '@/utils/request';

// 应付单列表
export function CompanyList(query) {
	return request({
		url: '/driver/driverCompany/list',
		method: 'get',
		params: query,
	});
}

// 订单接口
export function OrderList(query) {
	return request({
		url: '/order/orderCar/list',
		method: 'get',
		params: query,
	});
}
// 车辆接口
export function CarList(query) {
	return request({
		url: '/car/carBasic/getCarList',
		method: 'get',
		params: query,
	});
}

// 车辆接口
export function QuotaCarList(query) {
	return request({
		url: '/quoter/scheme/carModel/pageQuery',
		method: 'post',
		data: query,
	});
}
// 车辆接口
export function QuotaCarTypeList(query) {
	return request({
		url: '/quoter/scheme/carModel/pageQuery',
		method: 'post',
		data: query,
	});
}

// 查询客户列表
export function UserList(query) {
	return request({
		url: '/customer/customer/list',
		method: 'get',
		params: query,
	});
}

// 查询客户列表
export function UserNoList(query) {
	return request({
		url: '/customer/customer/unrestrictedList',
		method: 'get',
		params: query,
	});
}
// 费用报销订单
export function FinanceOrderList(query) {
	return request({
		url: '/expense/info/selectOrderList',
		method: 'get',
		params: query,
	});
}
// 费用报销车辆
export function FinanceCarList(query) {
	return request({
		url: '/car/carBasic/getCarList',
		method: 'get',
		params: query,
	});
}
// 查询nc开户行列表
export function NcList(query) {
	return request({
		url: '/nc/bank/list',
		method: 'get',
		params: query,
	});
}
